const MODEL_TYPES = {
  BLOCK: '__BLOCK__',
  DOCUMENT: '__DOCUMENT__'
};

export function isType(type, any) {
  return !!(any && any[MODEL_TYPES[type]]);
}

export default MODEL_TYPES;
